#ifndef MANGOS_TOTEMAI_H
#define MANGOS_TOTEMAI_H

#include "CreatureAI.h"
#include "Timer.h"

class Creature;
class Totem;

class MANGOS_DLL_DECL TotemAI : public CreatureAI
{
public:
    explicit				TotemAI(Creature *c);

public:///
    void					MoveInLineOfSight(Unit *);
    void					AttackStart(Unit *);
    void					EnterEvadeMode();
    bool					IsVisible(Unit *) const;

    void					UpdateAI(const uint32);
    static int				Permissible(const Creature *);
protected:
    Totem&					getTotem();

private:
    uint64					i_victimGuid;
};
#endif
